// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Fluent;
using Elastic.Clients.Elasticsearch.Serialization;
using Elastic.Transport.Products.Elasticsearch;
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.SnapshotLifecycleManagement;

public sealed partial class GetStatsResponse : ElasticsearchResponse
{
	[JsonInclude, JsonPropertyName("policy_stats")]
	public IReadOnlyCollection<string> PolicyStats { get; init; }
	[JsonInclude, JsonPropertyName("retention_deletion_time")]
	public Elastic.Clients.Elasticsearch.Duration RetentionDeletionTime { get; init; }
	[JsonInclude, JsonPropertyName("retention_deletion_time_millis")]
	public long RetentionDeletionTimeMillis { get; init; }
	[JsonInclude, JsonPropertyName("retention_failed")]
	public long RetentionFailed { get; init; }
	[JsonInclude, JsonPropertyName("retention_runs")]
	public long RetentionRuns { get; init; }
	[JsonInclude, JsonPropertyName("retention_timed_out")]
	public long RetentionTimedOut { get; init; }
	[JsonInclude, JsonPropertyName("total_snapshot_deletion_failures")]
	public long TotalSnapshotDeletionFailures { get; init; }
	[JsonInclude, JsonPropertyName("total_snapshots_deleted")]
	public long TotalSnapshotsDeleted { get; init; }
	[JsonInclude, JsonPropertyName("total_snapshots_failed")]
	public long TotalSnapshotsFailed { get; init; }
	[JsonInclude, JsonPropertyName("total_snapshots_taken")]
	public long TotalSnapshotsTaken { get; init; }
}